#ifndef Plan_h
#define Plan_h

#include "Object.h"

class Box;

class Plan : public Object
{
private:
	Point point;
	Vector normal;
	
public:
	Plan(){}
	Plan(const Point &, const Vector &);
	Point getPoint() const { return point; }
    
	bool intersection(Ray&, Intersection&) const;
	Vector getNormal (const Point&) const;
};

#endif
